Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.routing.dm.layouts.webapp--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.layouts.webapp inside nuxeo-platform-document-routing-dm-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="actors" type="template">
            <fields>
              <field>tkst:actors</field>
            </fields>
            <labels>
              <label mode="any"/>
            </labels>
            <properties mode="any">
             <property name="template">
                /widgets/user_suggestion_widget_template.xhtml
              </property>
              <property name="required">true</property>
            </properties>
          </widget>
  • <widget name="directive_task" type="template">
          <fields>
            <field>tkst:directive</field>
          </fields>
          <labels>
            <label mode="any">label.review.directive</label>
          </labels>
          <translated>true</translated>
          <properties mode="any">
            <property name="template">
              /widgets/routing_directive_widget_template.xhtml
            </property>
          </properties>
        </widget>
  • <widget name="directive_publishing_task" type="singleDocumentSuggestion">
          <fields>
            <field>tkst:directive</field>
          </fields>
          <labels>
            <label mode="any">label.widget.task_step.publication</label>
          </labels>
          <translated>true</translated>
          <properties mode="any">
            <property name="documentSuggestion_pageProviderName">
              default_section_suggestion
            </property>
          </properties>
        </widget>
  • <widget name="directive_follow_lc_transion_task" type="text">
          <fields>
            <field>tkst:directive</field>
          </fields>
          <labels>
            <label mode="any">label.widget.review.life.cycle.transition</label>
          </labels>
          <translated>true</translated>
        </widget>
  • <widget name="dueDate" type="template">
          <fields>
            <field>tkst:dueDate</field>
          </fields>
          <labels>
            <label mode="any">label.review.duedate</label>
          </labels>
          <translated>true</translated>
          <properties mode="any">
            <property name="template">
              /widgets/routing_duedate_widget_template.xhtml
            </property>
          </properties>
          </widget>
  • <widget name="automaticValidation" type="checkbox">
            <translated>true</translated>
            <fields>
              <field>tkst:automaticValidation</field>
            </fields>
         </widget>
  • <widget name="dr_listing_no_comments" type="list">
            <labels>
              <label mode="any">label.content.header.comments</label>
            </labels>
            <translated>true</translated>
            <fields>
             <field>data.document.tkst.comments</field>
            </fields>
            <properties widgetMode="edit">
              <property name="orderable">false</property>
              <property name="diff">false</property>
              <property name="display">table</property>
              <property name="required">false</property>
              <property name="hideSubLabels">true</property>
            </properties>
            <properties mode="any"/>
            <subWidgets>
              <widget name="sub0" type="text">
                <labels>
                  <label mode="any"/>
                </labels>
                <translated>false</translated>
                <fields>
                  <field/>
                </fields>
                <properties mode="any"/>
              </widget>
            </subWidgets>
          </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widget name="actors" type="template">
        <fields>
          <field>tkst:actors</field>
        </fields>
        <labels>
          <label mode="any"/>
        </labels>
        <properties mode="any">
         <property name="template">
            /widgets/user_suggestion_widget_template.xhtml
          </property>
          <property name="required">true</property>
        </properties>
      </widget>
    <widget name="directive_task" type="template">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.review.directive</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="template">
          /widgets/routing_directive_widget_template.xhtml
        </property>
      </properties>
    </widget>
     <widget name="directive_publishing_task" type="singleDocumentSuggestion">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.widget.task_step.publication</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="documentSuggestion_pageProviderName">
          default_section_suggestion
        </property>
      </properties>
    </widget>
    <widget name="directive_follow_lc_transion_task" type="text">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.widget.review.life.cycle.transition</label>
      </labels>
      <translated>true</translated>
    </widget>
    <widget name="dueDate" type="template">
      <fields>
        <field>tkst:dueDate</field>
      </fields>
      <labels>
        <label mode="any">label.review.duedate</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="template">
          /widgets/routing_duedate_widget_template.xhtml
        </property>
      </properties>
      </widget>
     <widget name="automaticValidation" type="checkbox">
        <translated>true</translated>
        <fields>
          <field>tkst:automaticValidation</field>
        </fields>
     </widget>
     
     <!-- overide the default widget to display the number of comments used by default in routing -->
    <widget name="dr_listing_no_comments" type="list">
        <labels>
          <label mode="any">label.content.header.comments</label>
        </labels>
        <translated>true</translated>
        <fields>
         <field>data.document.tkst.comments</field>
        </fields>
        <properties widgetMode="edit">
          <property name="orderable">false</property>
          <property name="diff">false</property>
          <property name="display">table</property>
          <property name="required">false</property>
          <property name="hideSubLabels">true</property>
        </properties>
        <properties mode="any"/>
        <subWidgets>
          <widget name="sub0" type="text">
            <labels>
              <label mode="any"/>
            </labels>
            <translated>false</translated>
            <fields>
              <field/>
            </fields>
            <properties mode="any"/>
          </widget>
        </subWidgets>
      </widget>
     
  </extension>